import hccmRequestUtil from "@/common/hccm-request-util.js"

module.exports = {
  // login
  loginByMobile: param => hccmRequestUtil.postApi("/med-api/app/auth/loginByMobile", param, true),

  // 体检列表
  inspectList: param => hccmRequestUtil.getApi("/med-api/app/inspect/list", param, true),

  // 获取此次体检学生列表
  inspectStudentList: param => hccmRequestUtil.getApi("/med-api/app/student/list", param, true),


  // 获取此每一项的学生列表
  queryStudentList: param => hccmRequestUtil.getApi("/med-api/app/student/studentList", param, true),

  // 保存体检详情
  inspectDetailSave: param => hccmRequestUtil.postApi("/med-api/app/inspectDetail/saveList", param, true),

  // 获取体检详情
  inspectDetailList: param => hccmRequestUtil.getApi("/med-api/app/inspectDetail/list", param, true),

  // 获取体检详情
  studentDetail: param => hccmRequestUtil.getApi("/med-api/app/student/studentDetail", param, true),

  // 获取每一项进度
  getStudentProjectRate: param => hccmRequestUtil.getApi("/med-api/app/student/getStudentProjectRate", param, true),

  // 第四项扫码登记学生
  submitlsFourth: param => hccmRequestUtil.postApi("/med-api/app/diagnose/submitIsFourth", param, true),

}
